package com.site.wisdom_construction.service.scheduleModule;

import com.site.wisdom_construction.dao.scheduleModule.DelayRecordDao;
import com.site.wisdom_construction.entity.scheduleModule.DelayRecord;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @Author daiyifei
 * @Date 2022/1/16
 * @Description
 */
@Service
public class DelayRecordService implements DelayRecordDao {
    @Autowired
    private DelayRecordDao delayRecordDao;

    @Override
    public int insertDelayRecord(Map map) {
        return delayRecordDao.insertDelayRecord(map);
    }

    @Override
    public int deleteDelayRecord(Map map) {
        return delayRecordDao.deleteDelayRecord(map);
    }

    @Override
    public int updateDelayRecord(Map map) {
        return delayRecordDao.updateDelayRecord(map);
    }

    @Override
    public List<DelayRecord> findDelayRecordByPage(Map map) {
        return delayRecordDao.findDelayRecordByPage(map);
    }

    @Override
    public long Total(Map map) {
        return delayRecordDao.Total(map);
    }
}
